package com.lajiaomian.springbootruijiwaimai.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lajiaomian.springbootruijiwaimai.dto.SetmealDto;
import com.lajiaomian.springbootruijiwaimai.pojo.Setmeal;

/**
 * @author lajiaomian
 * @create 2022-08-13-10:28
 */
public interface SetmealService extends IService<Setmeal> {
    //查看是否有这个套餐的数量
    Long CountCategoryId(Long categoryId);
    //添加套餐功能
    void addSetmealDto(SetmealDto setmealDto);
    //根据id查询套餐详情
    SetmealDto getSetmealDtoByid(Long id);
    //更新套餐
    void updateSetmeal(SetmealDto setmealDto);
}
